<template>

  
  <ul>
    <li v-for="(user) in users"   :key="user.id">
      {{ user.name }}
    </li>
  </ul>
</template>

<script>

import axios from 'axios';


export default {
  name: 'App',
  data(){
    return {users:[]}
  },
  mounted(){
    axios.get('http://8.134.108.144:3000/api/users').then(res=>{
      this.users = res.data;
    })
    
  }
}
</script>

<style>
</style>
